﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TesterCRM.Auxiliary
{
    class Logger
    {
        protected byte STEP_COUNT = 0;

        public Logger () { }

        public static void WriteLine (string message)
        {
            Console.WriteLine("\n     {0}",  message);
        }

        public static void WriteLine (string message, object param)
        {
            string temp = string.Format(message, param);
            Console.WriteLine("\n     {0}", temp);
        }

        public void WriteStep (string message)
        {
            STEP_COUNT += 1;
            Console.WriteLine("\n {0}.- {1}", STEP_COUNT, message);
        }
    }
}
